<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
			let token = uni.getStorageSync("token")
			if (!token) {
				uni.reLaunch({
					url: "/pages/index/login2"
				})
			}
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";

	@font-face {
		font-family: 'DINNextLTPro';
		src: url('@/static/DINNextLTPro-Medium.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	}

	@font-face {
		font-family: 'AlimamaShuHeiTi';
		src: url('@/static/alimamashuheiti.ttf');
		font-weight: normal;
		font-style: normal;
		font-display: swap;
	}

	page {
		background-color: #f8f8f8;
	}

	.pagebg {
		width: 750rpx;
		height: 1592rpx;
		position: fixed;
		top: 0;
		left: 0;
	}

	.pagebg1 {
		width: 750rpx;
		height: 419rpx;
		position: fixed;
		top: 0;
		left: 0;
	}

	.pagecon {
		position: relative;
		z-index: 1;
	}
</style>